<%= form_remote_tag(
      :url=> {:action=>:salvar , :id=>@ca_menu.id},
      :failure => "alert('problemas ao salvar informa��es do menu')"
)%>
  <div id=dados_menu>
    <label for="conteudo_nome">Nome</label>
	  <%= text_field 'ca_menu', 'nome'  %>
    <label for="descricao">Descricao</label>
    <%= text_area 'ca_menu', 'descricao',:rows=>2,:cols=>20%><br/>
    <%= submit_tag 'Salvar' %>
  </div>
</form>
<hr/>
<table>
  <tr>
    <td>
      <div id=itens_menu style='padding:10px;'>
        <%=render :partial=>'itens_menu',:locals=>{'ca_menu'=>@ca_menu}%>
      </div>
    </td>
    <td>
      <div id=item_menu>
      </div>
    </td>
  </tr>
</table>